package cn.bdqn.comsumer1.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "provider1",fallback = HelloFeignFallBack.class)
public interface HelloFeign {

    @GetMapping("/hello")
    String hello();
}
